home *** CD-ROM | disk | FTP | other *** search
/ Champak 109 / Vol 109.iso / games / race_gam.swf / scripts / DefineSprite_114 / frame_1 / DoAction.as
Encoding:
Text File  |  2008-11-12  |  20.3 KB  |  651 lines

  1. var ┬º\x01┬º = 547;
  2. loop0:
  3. while(true)
  4. {
  5.    if(eval("\x01") == 547)
  6.    {
  7.       set("\x01",eval("\x01") - 510);
  8.       ┬º┬ºpush(true);
  9.       continue;
  10.    }
  11.    if(eval("\x01") == 37)
  12.    {
  13.       set("\x01",eval("\x01") + 490);
  14.       if(┬º┬ºpop())
  15.       {
  16.          set("\x01",eval("\x01") - 383);
  17.       }
  18.       continue;
  19.    }
  20.    if(eval("\x01") == 219)
  21.    {
  22.       set("\x01",eval("\x01") + 259);
  23.       if(┬º┬ºpop())
  24.       {
  25.          set("\x01",eval("\x01") - 319);
  26.       }
  27.       continue;
  28.    }
  29.    if(eval("\x01") == 159)
  30.    {
  31.       set("\x01",eval("\x01") + 454);
  32.       ┬º┬ºpush(true);
  33.       continue;
  34.    }
  35.    if(eval("\x01") == 144)
  36.    {
  37.       set("\x01",eval("\x01") + 75);
  38.       ┬º┬ºpush(true);
  39.       continue;
  40.    }
  41.    if(eval("\x01") == 527)
  42.    {
  43.       set("\x01",eval("\x01") - 383);
  44.       ┬º┬ºpush(┬º┬ºpop() | ┬º┬ºpop());
  45.       break;
  46.    }
  47.    if(eval("\x01") == 478)
  48.    {
  49.       set("\x01",eval("\x01") - 319);
  50.       loop1:
  51.       while(true)
  52.       {
  53.          while(true)
  54.          {
  55.             if(eval("\x01") == 658)
  56.             {
  57.                set("\x01",eval("\x01") - 514);
  58.                ┬º┬ºpush(true);
  59.                continue;
  60.             }
  61.             if(eval("\x01") == 784)
  62.             {
  63.                set("\x01",eval("\x01") - 299);
  64.                if(┬º┬ºpop())
  65.                {
  66.                   set("\x01",eval("\x01") + 376);
  67.                }
  68.                continue;
  69.             }
  70.             if(eval("\x01") == 632)
  71.             {
  72.                set("\x01",eval("\x01") + 312);
  73.                if(┬º┬ºpop())
  74.                {
  75.                   set("\x01",eval("\x01") - 823);
  76.                }
  77.                continue;
  78.             }
  79.             if(eval("\x01") == 144)
  80.             {
  81.                set("\x01",eval("\x01") + 589);
  82.                if(┬º┬ºpop())
  83.                {
  84.                   set("\x01",eval("\x01") - 134);
  85.                }
  86.                continue;
  87.             }
  88.             if(eval("\x01") == 868)
  89.             {
  90.                set("\x01",eval("\x01") - 626);
  91.                ┬º┬ºpush(true);
  92.                continue;
  93.             }
  94.             if(eval("\x01") == 943)
  95.             {
  96.                set("\x01",eval("\x01") - 159);
  97.                ┬º┬ºpush(true);
  98.                continue;
  99.             }
  100.             if(eval("\x01") == 683)
  101.             {
  102.                break loop1;
  103.             }
  104.             if(eval("\x01") == 121)
  105.             {
  106.                set("\x01",eval("\x01") + 190);
  107.                ┬º┬ºpush(true);
  108.                continue;
  109.             }
  110.             if(eval("\x01") == 599)
  111.             {
  112.                set("\x01",eval("\x01") - 205);
  113.                ┬º┬ºpush(true);
  114.                continue;
  115.             }
  116.             if(eval("\x01") == 733)
  117.             {
  118.                set("\x01",eval("\x01") - 134);
  119.                break loop0;
  120.             }
  121.             if(eval("\x01") == 394)
  122.             {
  123.                set("\x01",eval("\x01") - 85);
  124.                if(┬º┬ºpop())
  125.                {
  126.                   set("\x01",eval("\x01") + 559);
  127.                }
  128.                continue;
  129.             }
  130.             if(eval("\x01") == 485)
  131.             {
  132.                set("\x01",eval("\x01") + 376);
  133.                ┬º┬ºpush(┬º┬ºpop() / ┬º┬ºpop());
  134.                break loop0;
  135.             }
  136.             if(eval("\x01") == 309)
  137.             {
  138.                set("\x01",eval("\x01") + 559);
  139.                break loop0;
  140.             }
  141.             if(eval("\x01") == 305)
  142.             {
  143.                set("\x01",eval("\x01") + 159);
  144.                ┬º┬ºpush(true);
  145.                continue;
  146.             }
  147.             if(eval("\x01") == 311)
  148.             {
  149.                set("\x01",eval("\x01") + 540);
  150.                if(┬º┬ºpop())
  151.                {
  152.                   set("\x01",eval("\x01") - 546);
  153.                }
  154.                continue;
  155.             }
  156.             if(eval("\x01") == 595)
  157.             {
  158.                set("\x01",eval("\x01") + 348);
  159.                startDrag(┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop());
  160.                break loop0;
  161.             }
  162.             if(eval("\x01") == 851)
  163.             {
  164.                set("\x01",eval("\x01") - 546);
  165.                break loop0;
  166.             }
  167.             if(eval("\x01") == 652)
  168.             {
  169.                break;
  170.             }
  171.             if(eval("\x01") == 242)
  172.             {
  173.                set("\x01",eval("\x01") + 353);
  174.                if(┬º┬ºpop())
  175.                {
  176.                   set("\x01",eval("\x01") + 348);
  177.                }
  178.                continue;
  179.             }
  180.             if(eval("\x01") == 861)
  181.             {
  182.                set("\x01",eval("\x01") - 716);
  183.                ┬º┬ºpush(true);
  184.                continue;
  185.             }
  186.             if(eval("\x01") == 145)
  187.             {
  188.                set("\x01",eval("\x01") + 36);
  189.                if(┬º┬ºpop())
  190.                {
  191.                   set("\x01",eval("\x01") + 471);
  192.                }
  193.                continue;
  194.             }
  195.             if(eval("\x01") == 464)
  196.             {
  197.                set("\x01",eval("\x01") + 219);
  198.                if(┬º┬ºpop())
  199.                {
  200.                   set("\x01",eval("\x01") + 266);
  201.                }
  202.                continue;
  203.             }
  204.             if(eval("\x01") == 181)
  205.             {
  206.                set("\x01",eval("\x01") + 471);
  207.                break loop0;
  208.             }
  209.             if(eval("\x01") == 949)
  210.             {
  211.                set("\x01",eval("\x01") - 191);
  212.                stop();
  213.                mcRot._x = 200;
  214.                mcRot._y = 300;
  215.                mcRot._xscale = 100;
  216.                mcRot._yscale = 100;
  217.                mcRot.mcField._x = - mcRot.mcField.mcCar0._x;
  218.                mcRot.mcField._y = - mcRot.mcField.mcCar0._y;
  219.                mcRot._rotation = - mcRot.mcField.mcCar0._rotation;
  220.                sndHit = new Sound();
  221.                sndHit.attachSound("touch.wav");
  222.                sndLap = new Sound();
  223.                sndLap.attachSound("lap.wav");
  224.                break loop0;
  225.             }
  226.             if(eval("\x01") != 944)
  227.             {
  228.                break loop0;
  229.             }
  230.             set("\x01",eval("\x01") - 823);
  231.             set(┬º┬ºpop(),┬º┬ºpop());
  232.             loop3:
  233.             while(true)
  234.             {
  235.                if(eval(┬º┬ºpop()) == 428)
  236.                {
  237.                   set("\x01",eval("\x01") - 146);
  238.                   if(┬º┬ºpop())
  239.                   {
  240.                      set("\x01",eval("\x01") + 426);
  241.                   }
  242.                }
  243.                else
  244.                {
  245.                   if(eval("\x01") == 282)
  246.                   {
  247.                      set("\x01",eval("\x01") + 426);
  248.                      ┬º┬ºpush(┬º┬ºpop() add ┬º┬ºpop());
  249.                      break loop0;
  250.                      addr5726:
  251.                   }
  252.                   if(eval("\x01") != 875)
  253.                   {
  254.                      break loop0;
  255.                   }
  256.                   set("\x01",eval("\x01") - 481);
  257.                   if(┬º┬ºpop())
  258.                   {
  259.                      set("\x01",eval("\x01") - 170);
  260.                   }
  261.                }
  262.                while(true)
  263.                {
  264.                   if(eval("\x01") == 481)
  265.                   {
  266.                      set("\x01",eval("\x01") + 399);
  267.                      ┬º┬ºpush(true);
  268.                      continue;
  269.                   }
  270.                   if(eval("\x01") == 792)
  271.                   {
  272.                      set("\x01",eval("\x01") - 480);
  273.                      if(┬º┬ºpop())
  274.                      {
  275.                         set("\x01",eval("\x01") - 267);
  276.                      }
  277.                      continue;
  278.                   }
  279.                   if(eval("\x01") == 982)
  280.                   {
  281.                      set("\x01",eval("\x01") - 300);
  282.                      if(┬º┬ºpop())
  283.                      {
  284.                         set("\x01",eval("\x01") - 520);
  285.                      }
  286.                      continue;
  287.                   }
  288.                   if(eval("\x01") == 191)
  289.                   {
  290.                      set("\x01",eval("\x01") + 601);
  291.                      ┬º┬ºpush(true);
  292.                      continue;
  293.                   }
  294.                   if(eval("\x01") == 165)
  295.                   {
  296.                      set("\x01",eval("\x01") + 810);
  297.                      break loop0;
  298.                   }
  299.                   if(eval("\x01") == 665)
  300.                   {
  301.                      set("\x01",eval("\x01") - 496);
  302.                      ┬º┬ºpush(true);
  303.                      continue;
  304.                   }
  305.                   if(eval("\x01") == 880)
  306.                   {
  307.                      set("\x01",eval("\x01") + 1);
  308.                      if(┬º┬ºpop())
  309.                      {
  310.                         set("\x01",eval("\x01") - 554);
  311.                      }
  312.                      continue;
  313.                   }
  314.                   if(eval("\x01") == 682)
  315.                   {
  316.                      set("\x01",eval("\x01") - 520);
  317.                      ┬º┬ºenumerate(┬º┬ºpop());
  318.                      tellTarget(┬º┬ºenumeration())
  319.                      {
  320.                         toggleHighQuality();
  321.                         ┬º┬ºpush(┬º┬ºpop() === ┬º┬ºpop());
  322.                         break loop0;
  323.                      }
  324.                   }
  325.                   if(eval("\x01") == 82)
  326.                   {
  327.                      set("\x01",eval("\x01") + 583);
  328.                      toggleHighQuality();
  329.                      nextFrame();
  330.                      var _loc92_ = null;
  331.                      ┬º┬ºpush(_loc92_ = ┬º┬ºpop());
  332.                      break loop0;
  333.                   }
  334.                   if(eval("\x01") == 312)
  335.                   {
  336.                      set("\x01",eval("\x01") - 267);
  337.                      break loop0;
  338.                   }
  339.                   if(eval("\x01") == 162)
  340.                   {
  341.                      set("\x01",eval("\x01") + 827);
  342.                      ┬º┬ºpush(true);
  343.                      continue;
  344.                   }
  345.                   if(eval("\x01") == 881)
  346.                   {
  347.                      break;
  348.                   }
  349.                   if(eval("\x01") == 327)
  350.                   {
  351.                      set("\x01",eval("\x01") + 655);
  352.                      ┬º┬ºpush(true);
  353.                      continue;
  354.                   }
  355.                   if(eval("\x01") == 624)
  356.                   {
  357.                      set("\x01",eval("\x01") - 433);
  358.                      break loop0;
  359.                   }
  360.                   if(eval("\x01") == 45)
  361.                   {
  362.                      set("\x01",eval("\x01") + 342);
  363.                      stop();
  364.                      break loop0;
  365.                   }
  366.                   if(eval("\x01") == 989)
  367.                   {
  368.                      set("\x01",eval("\x01") - 907);
  369.                      if(┬º┬ºpop())
  370.                      {
  371.                         set("\x01",eval("\x01") + 583);
  372.                      }
  373.                      continue;
  374.                   }
  375.                   if(eval("\x01") == 149)
  376.                   {
  377.                      set("\x01",eval("\x01") - 149);
  378.                      ┬º┬ºpush(true);
  379.                      continue;
  380.                   }
  381.                   if(eval("\x01") == 708)
  382.                   {
  383.                      set("\x01",eval("\x01") + 167);
  384.                      ┬º┬ºpush(true);
  385.                      continue;
  386.                   }
  387.                   if(eval("\x01") == 169)
  388.                   {
  389.                      set("\x01",eval("\x01") + 668);
  390.                      if(┬º┬ºpop())
  391.                      {
  392.                         set("\x01",eval("\x01") - 688);
  393.                      }
  394.                      continue;
  395.                   }
  396.                   if(eval("\x01") != 837)
  397.                   {
  398.                      if(eval("\x01") == 0)
  399.                      {
  400.                         set("\x01",eval("\x01") + 165);
  401.                         if(┬º┬ºpop())
  402.                         {
  403.                            set("\x01",eval("\x01") + 810);
  404.                         }
  405.                         continue;
  406.                      }
  407.                      if(eval("\x01") == 819)
  408.                      {
  409.                         set("\x01",eval("\x01") - 195);
  410.                         if(┬º┬ºpop())
  411.                         {
  412.                            set("\x01",eval("\x01") - 433);
  413.                         }
  414.                         continue;
  415.                      }
  416.                      if(eval("\x01") == 224)
  417.                      {
  418.                         set("\x01",eval("\x01") + 595);
  419.                         ┬º┬ºpush(true);
  420.                         continue;
  421.                      }
  422.                      if(eval("\x01") == 394)
  423.                      {
  424.                         set("\x01",eval("\x01") - 170);
  425.                         break loop0;
  426.                      }
  427.                      if(eval("\x01") == 975)
  428.                      {
  429.                         set("\x01",eval("\x01") - 547);
  430.                         ┬º┬ºpush(true);
  431.                         continue;
  432.                      }
  433.                      continue loop3;
  434.                   }
  435.                   set("\x01",eval("\x01") - 688);
  436.                   while(true)
  437.                   {
  438.                      stop();
  439.                      with(┬º┬ºpop())
  440.                      {
  441.                         set(┬º┬ºpop(),┬º┬ºpop());
  442.                         ┬º┬ºpush(true);
  443.                         if(eval("\x01") == 605)
  444.                         {
  445.                            set("\x01",eval("\x01") - 510);
  446.                         }
  447.                         if(eval("\x01") == 251)
  448.                         {
  449.                            set("\x01",eval("\x01") + 74);
  450.                            ┬º┬ºpush(true);
  451.                         }
  452.                         if(eval("\x01") == 892)
  453.                         {
  454.                            set("\x01",eval("\x01") - 187);
  455.                            if(┬º┬ºpop())
  456.                            {
  457.                               set("\x01",eval("\x01") + 226);
  458.                            }
  459.                         }
  460.                         if(eval("\x01") == 705)
  461.                         {
  462.                            set("\x01",eval("\x01") + 226);
  463.                         }
  464.                         if(eval("\x01") == 646)
  465.                         {
  466.                            set("\x01",eval("\x01") + 240);
  467.                            if(┬º┬ºpop())
  468.                            {
  469.                               set("\x01",eval("\x01") + 32);
  470.                            }
  471.                         }
  472.                         if(eval("\x01") == 149)
  473.                         {
  474.                            set("\x01",eval("\x01") + 188);
  475.                         }
  476.                         if(eval("\x01") == 95)
  477.                         {
  478.                            set("\x01",eval("\x01") + 764);
  479.                            ┬º┬ºpush(true);
  480.                         }
  481.                         if(eval("\x01") == 968)
  482.                         {
  483.                            set("\x01",eval("\x01") - 59);
  484.                            if(┬º┬ºpop())
  485.                            {
  486.                               set("\x01",eval("\x01") - 348);
  487.                            }
  488.                         }
  489.                         if(eval("\x01") == 931)
  490.                         {
  491.                            set("\x01",eval("\x01") - 463);
  492.                            ┬º┬ºpush(true);
  493.                         }
  494.                         if(eval("\x01") == 223)
  495.                         {
  496.                            set("\x01",eval("\x01") + 156);
  497.                         }
  498.                         if(eval("\x01") == 258)
  499.                         {
  500.                            set("\x01",eval("\x01") - 109);
  501.                            if(┬º┬ºpop())
  502.                            {
  503.                               set("\x01",eval("\x01") + 188);
  504.                            }
  505.                         }
  506.                         if(eval("\x01") == 325)
  507.                         {
  508.                            set("\x01",eval("\x01") + 71);
  509.                            if(┬º┬ºpop())
  510.                            {
  511.                               set("\x01",eval("\x01") + 384);
  512.                            }
  513.                         }
  514.                         if(eval("\x01") == 73)
  515.                         {
  516.                            set("\x01",eval("\x01") + 532);
  517.                            if(┬º┬ºpop())
  518.                            {
  519.                               set("\x01",eval("\x01") - 510);
  520.                            }
  521.                         }
  522.                         if(eval("\x01") == 427)
  523.                         {
  524.                            set("\x01",eval("\x01") - 204);
  525.                            if(┬º┬ºpop())
  526.                            {
  527.                               set("\x01",eval("\x01") + 156);
  528.                            }
  529.                         }
  530.                         if(eval("\x01") == 309)
  531.                         {
  532.                            set("\x01",eval("\x01") - 58);
  533.                         }
  534.                         if(eval("\x01") == 780)
  535.                         {
  536.                            set("\x01",eval("\x01") + 112);
  537.                            ┬º┬ºpush(true);
  538.                         }
  539.                         if(eval("\x01") == 468)
  540.                         {
  541.                            set("\x01",eval("\x01") + 34);
  542.                            if(┬º┬ºpop())
  543.                            {
  544.                               set("\x01",eval("\x01") - 292);
  545.                            }
  546.                         }
  547.                         if(eval("\x01") == 337)
  548.                         {
  549.                            set("\x01",eval("\x01") - 264);
  550.                            ┬º┬ºpush(true);
  551.                         }
  552.                         if(eval("\x01") == 502)
  553.                         {
  554.                            set("\x01",eval("\x01") - 292);
  555.                         }
  556.                         if(eval("\x01") == 886)
  557.                         {
  558.                            set("\x01",eval("\x01") + 32);
  559.                         }
  560.                         if(eval("\x01") == 210)
  561.                         {
  562.                            set("\x01",eval("\x01") + 412);
  563.                         }
  564.                         else if(eval("\x01") == 561)
  565.                         {
  566.                            set("\x01",eval("\x01") + 85);
  567.                            ┬º┬ºpush(true);
  568.                         }
  569.                      }
  570.                   }
  571.                }
  572.                set("\x01",eval("\x01") - 554);
  573.                set(┬º┬ºpop(),┬º┬ºpop());
  574.                throw delete ┬º┬ºpop();
  575.             }
  576.          }
  577.          set("\x01",eval("\x01") - 20);
  578.       }
  579.       set("\x01",eval("\x01") + 266);
  580.       break;
  581.    }
  582.    if(eval("\x01") == 613)
  583.    {
  584.       set("\x01",eval("\x01") + 336);
  585.       if(┬º┬ºpop())
  586.       {
  587.          set("\x01",eval("\x01") - 638);
  588.       }
  589.       continue;
  590.    }
  591.    if(eval("\x01") != 949)
  592.    {
  593.       if(eval("\x01") == 311)
  594.       {
  595.          set("\x01",eval("\x01") + 309);
  596.          stop();
  597.          _parent.mcBGM.gotoAndStop("jun");
  598.          car = new Array(5);
  599.          user_car = -1;
  600.          i = 0;
  601.          while(i < 5)
  602.          {
  603.             car = 0;
  604.             j = 0;
  605.             while(j < _parent.CAR_MAX)
  606.             {
  607.                if(_parent.jun[j] == i)
  608.                {
  609.                   car = j;
  610.                }
  611.                j++;
  612.             }
  613.             mc = eval("mcCar" + i);
  614.             mc.gotoAndStop(1 + car);
  615.             eval("pt" + i).text = _parent.pt[car] + "pts";
  616.             if(car == 0)
  617.             {
  618.                user_car = i;
  619.             }
  620.             i++;
  621.          }
  622.          cnt = 0;
  623.          onEnterFrame = function()
  624.          {
  625.             cnt++;
  626.             if(cnt < 8)
  627.             {
  628.                return undefined;
  629.             }
  630.             cnt = 0;
  631.             if(user_car < 0)
  632.             {
  633.                return undefined;
  634.             }
  635.             mc = eval("mcCar" + user_car);
  636.             if(mc._visible)
  637.             {
  638.                mc._visible = false;
  639.             }
  640.             else
  641.             {
  642.                mc._visible = true;
  643.             }
  644.          };
  645.       }
  646.       break;
  647.    }
  648.    set("\x01",eval("\x01") - 638);
  649.    ┬º┬ºgoto(addr5726);
  650. }
  651.